package com.zh.note.dao;

import com.zh.note.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author zhanghuan
 * @since 2024-09-07
 */
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {

    List<UserEntity> getUsers();

    UserEntity getUserById(int id);
}
